﻿using System;
using System.Collections.Generic;
using System.Text;

using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;

namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public partial class m_ProductLine : DataObject
    {
        [Column]
        public string Product_Line_Code { get { return _Product_Line_Code; } set { _Product_Line_Code = value; EntityState.FieldChange("Product_Line_Code"); } }
        private string _Product_Line_Code;
        public static FieldInfo product_line_code = new FieldInfo("m_ProductLine", "Product_Line_Code");

        [Column]
        public string Product_Line_Description { get { return _Product_Line_Description; } set { _Product_Line_Description = value; EntityState.FieldChange("Product_Line_Description"); } }
        private string _Product_Line_Description;
        public static FieldInfo product_line_description = new FieldInfo("m_ProductLine", "Product_Line_Description");

        [Column]
        [NowDate]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } }
        private DateTime _Time;
        public static FieldInfo time = new FieldInfo("m_ProductLine", "Time");

        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } }
        private int _Status;
        public static FieldInfo status = new FieldInfo("m_ProductLine", "Status");
    }
}
